.rem(@px) {
  @var: unit(@px / 100);
  @rem: ~'@{var}rem';
}

* {
  transition: background-color .2s ease-in-out, margin .2s ease-in-out, opacity .2s ease-in-out, filter .2s ease-in-out, visibility .2s ease-in-out, transform .2s ease-in-out, border-color .2s ease-in-out;
}

*,
:after,
:before {
  box-sizing: border-box;
}

.title {
  background: rgb(121, 242, 157);
}

.example2 {
  color: red;
}

// 在css module中启用局部样式，会被加个小尾巴
:local {
  .example5 {
    color: red;
    font-size: 30px;
  }
}

.on {
  width: 0px;
  height: 80px;
  // background-color: blue;
}


// 在css module中启用全局样式，不会被修改
:global {
  .example3 {
    color: red;
  }

  //归档页面
  .container {
    margin-right: auto;
    margin-left: auto;
  }

  ._3tC3y9W6nEYVdAwGypNta9 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  ._3tC3y9W6nEYVdAwGypNta9>._1r_Dp71aY9wU_PZOrRyGzl {
    flex: 1;
    width: calc(100% - 20rem - 1rem);
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  ._31uY1VinxiwKyG_XZXFpv {
    background-color: var(--bg-second);
    box-shadow: var(--box-shadow);
  }

  ._1tJ6zWK6o_q8KafBWysrmZ {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-second);
    text-align: center;
  }

  ._1tJ6zWK6o_q8KafBWysrmZ p:first-of-type span {
    color: var(--primary-color);
    font-size: 1.5rem;
  }

  ._1tJ6zWK6o_q8KafBWysrmZ p:last-of-type span {
    color: var(--primary-color);
    font-size: 1.1rem;
  }

  ._1tJ6zWK6o_q8KafBWysrmZ p:first-of-type {
    margin-top: 0.5rem;
  }

  ._1tJ6zWK6o_q8KafBWysrmZ p {
    margin-bottom: 0;
  }

  p,
  ul {
    list-style: none;
    margin: 0;
  }

  p {
    margin-top: 0;
    margin-bottom: 1em;
  }

  .GIf9xHwpzxlxHcDyE8sCn h2 {
    color: var(--main-text-color);
    font-size: 1.5rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: 0;
    margin-bottom: 0.5em;
    color: #333;
    font-weight: 500;
  }

  .GIf9xHwpzxlxHcDyE8sCn ._172XrbegThYDU7WfEHTUpM {
    padding: 0.5rem 1rem;
    border-radius: 4px;
  }

  .GIf9xHwpzxlxHcDyE8sCn ._172XrbegThYDU7WfEHTUpM h3 {
    color: var(--second-text-color);
  }

  .GIf9xHwpzxlxHcDyE8sCn ._172XrbegThYDU7WfEHTUpM ul {
    padding-left: 2.5rem;
  }

  .GIf9xHwpzxlxHcDyE8sCn ._172XrbegThYDU7WfEHTUpM li {
    position: relative;
    padding: 0.5rem 0;
    list-style: disc;
  }

  .GIf9xHwpzxlxHcDyE8sCn ._172XrbegThYDU7WfEHTUpM li a {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  a,
  a:hover {
    color: inherit;
  }

  .GIf9xHwpzxlxHcDyE8sCn ._172XrbegThYDU7WfEHTUpM .OTAyqb_MWljCg91UnBG5u {
    padding-right: 1em;
    margin: 0;
    color: var(--second-text-color);
    font-size: .8rem;
  }

  .GIf9xHwpzxlxHcDyE8sCn ._172XrbegThYDU7WfEHTUpM .JxUmPoeJKqnfS58GvD3vz {
    color: var(--main-text-color);
    overflow: hidden;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
  }

  ._172XrbegThYDU7WfEHTUpMLi {
    opacity: 1;
    height: 48px;
    transform: none;
  }

  .GIf9xHwpzxlxHcDyE8sCn {
    padding: 1rem 1.3rem;
  }

  // 右侧
  // 推荐阅读
  ._3tC3y9W6nEYVdAwGypNta9>._3yp3HpYTQik_UvNquTL2uQ {
    width: 20rem;
    margin-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .sticky {
    position: sticky;
    top: 1rem;
    margin-bottom: 1rem;
  }

  .ammbB8tpRTlzwGu9Q8GNE._3PpmFreY8xlC6Z2Y0lcyk- {
    border-radius: var(--border-radius);
    background-color: var(--bg-second);
    box-shadow: var(--box-shadow);
  }

  .ammbB8tpRTlzwGu9Q8GNE {
    margin-bottom: 1.3rem;
    line-height: 1.29;
    overflow: hidden;
  }

  .ammbB8tpRTlzwGu9Q8GNE ._1hh60i8CByuosza1JbgE0Q {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--main-text-color);
    font-weight: 700;
  }

  .ant-spin-nested-loading {
    position: relative;
  }

  .ant-spin-container {
    position: relative;
    transition: opacity .3s;
  }

  .ammbB8tpRTlzwGu9Q8GNE ul._1PytTgSelvgOTMZR4ckInB {
    padding: 0 1rem 1rem;
  }

  ._1PytTgSelvgOTMZR4ckInBLi {
    opacity: 1;
    height: 32px;
    transform: none;
  }

  .ammbB8tpRTlzwGu9Q8GNE ul._1PytTgSelvgOTMZR4ckInB li {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    padding-top: 1rem;
    color: var(--second-text-color);
  }

  .ammbB8tpRTlzwGu9Q8GNE ul._1PytTgSelvgOTMZR4ckInB li a {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .ammbB8tpRTlzwGu9Q8GNE ul._1PytTgSelvgOTMZR4ckInB li a span:first-of-type {
    color: var(--main-text-color);
  }

  // 文章分类
  ._3KFGvyCY0omWyEQOzioDDk {
    border-radius: var(--border-radius);
    margin-bottom: 1.3rem;
    background-color: var(--bg-second);
    box-shadow: var(--box-shadow);
    line-height: 1.29;
    overflow: hidden;
  }

  ._3KFGvyCY0omWyEQOzioDDk ._2b0LQ_j7dN-JQtnGkqmrDz {
    padding: 1rem 1.3rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--main-text-color);
    font-weight: 700;
  }

  ._3KFGvyCY0omWyEQOzioDDkLi {
    opacity: 1;
    height: 37px;
    transform: none;
  }

  ._3KFGvyCY0omWyEQOzioDDk ul {
    padding: 1rem;
  }

  p,
  ul {
    list-style: none;
    margin: 0;
  }

  ul {
    padding: 0;
  }

  dl,
  ol,
  ul {
    margin-top: 0;
    margin-bottom: 1em;
  }

  ._3KFGvyCY0omWyEQOzioDDk li {
    padding: 8px 7px;
    border-radius: var(--border-radius);
    color: var(--second-text-color);
    line-height: 1.5em;
    transition: all .2s ease-in-out;
  }

  ._3KFGvyCY0omWyEQOzioDDk li a {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
  }

  ._3KFGvyCY0omWyEQOzioDDk li a>span:first-of-type {
    color: var(var(--main-text-color));
  }
}

.wrap {
  background: #fff;
}
